#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Cashflows
{
     // <summary> 
	// ! Distribution over a number of dates
	// </summary>
    [Guid ("D898D648-0F7B-48b4-955F-3423CCB2C8CC"),ComVisible(true)]
	public interface ITimeBasket 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean HasDate(DateTime prm1);
        
		 Cephei.QL.Cashflows.ITimeBasket Rebin(Cephei.IVector<DateTime> buckets);
    }

    // <summary> 
	// ! Distribution over a number of dates Factory
	// </summary>
   	[ComVisible(true)]
    public interface ITimeBasket_Factory // : Collection_Factory<ITimeBasket, ICell<ITimeBasket>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ITimeBasket Create (Cephei.IVector<DateTime> dates, Cephei.IVector<Double> values);
        
	    ITimeBasket Create ();
    }
}

